<?hh
<<__EntryPoint>> function main(): void {
$funcs = varray[
  is_writable<>,
  is_readable<>,
  is_executable<>,
  is_file<>,
  file_exists<>,
];

$filename="";

foreach ($funcs as $test) {
	$bb = $test($filename);
	echo gettype($bb)."\n";
	clearstatcache();
}

$filename="run-tests.php";

foreach ($funcs as $test) {
	$bb = $test($filename);
	echo gettype($bb)."\n";
	clearstatcache();
}
}
